package com.cskaoyan.servlet;

import com.cskaoyan.bean.common.BaseRespVo;
import com.cskaoyan.util.AuthenticationUtil;
import com.cskaoyan.util.WdTokenHolder;

import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @author Ramsey
 * @date 2023年05月29日 11:39
 */
@WebServlet("/admin/profile/*")
public class AdminProfileServlet extends WdBaseServlet {
    public BaseRespVo nnotice(HttpServletRequest request, HttpServletResponse response) {
        Object principal = AuthenticationUtil.getPrincipal();//这里如果找不到肯定就直接抛异常了就没机会return
        return BaseRespVo.ok();
    }
}
